# -*- coding: utf-8 -*-
from application import app
'''
统一拦截器
'''
from  web.interceptors.AuthInterceptors import *
'''
蓝图功能，对所有的URLj进行蓝图功能配置
每次在controller中加一个东西的时候，都要在www文件中注册一下
'''
from web.controllers.index import route_index
from web.controllers.user.User import route_user
from web.controllers.static import route_static
from web.controllers.account.Account import route_account
from web.controllers.storagy.Storagy import route_storagy
from web.controllers.member.Member import route_member
from web.controllers.stat.Stat import route_stat

app.register_blueprint( route_index,url_prefix = "/" )
app.register_blueprint( route_user,url_prefix = "/user" )
app.register_blueprint( route_static,url_prefix = "/static" )
app.register_blueprint( route_account,url_prefix = "/account" )
app.register_blueprint( route_stat,url_prefix = "/stat" )
app.register_blueprint( route_storagy,url_prefix="/storagy" )
app.register_blueprint( route_member,url_prefix = "/member" )
